Skip to content

Add example for exec with tty enabled.#515

Closed
xychu wants to merge 1 commit intokubernetes-client:masterfrom
xychu:add-tty-example
Closed

Add example for exec with tty enabled.#515
xychu wants to merge 1 commit intokubernetes-client:masterfrom
xychu:add-tty-example

Conversation

@xychu
Copy link

@xychu xychu commented Apr 17, 2018

Including resize pty via RESIZE_CHANNEL.

Including resize pty via `RESIZE_CHANNEL`.
@xychu xychu force-pushed the add-tty-example branch from d4fdb3b to da94347 Compare May 16, 2018 07:14
# This example used code(the `Interceptor` related part) from
# http://sqizit.bartletts.id.au/2011/02/14/pseudo-terminals-in-python/
# which is licensed under the MIT license:
# Copyright (c) 2011 Joshua D. Bartlett
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry that I couldn't get to this earlier. I'm concerned with the MIT licensing and worried if having another license violates our CLA. Did a quick search in our code base and I didn't see any source code under MIT license in client-python and kubernetes/kubernetes (third party vendors don't apply).

@yliaog @mbohlool Do we have existing best-practice / SIG in community that we can consult with?

I'd be happy to review & merge this PR after we sort out the license question.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.cncf.io/blog/2017/02/01/cncf-recommends-aslv2/

CNCF recommends Apache License. Not sure if MIT License is ok though.

@fejta-bot
Copy link

Unknown CLA label state. Rechecking for CLA labels.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/check-cla

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 21, 2019
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 20, 2019
@xychu
Copy link
Author

xychu commented Jul 21, 2019

/close

@k8s-ci-robot
Copy link
Contributor

@xychu: Closed this PR.

Details

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants